package com.wlc.config;

/**
 * @author 王立朝
 * @date 2024/7/3
 * @description:
 */
public class PlatformContextHolder {
	private static final ThreadLocal<String> contextHolder = new ThreadLocal<>();

	public static void setPlatform(String platform) {
		contextHolder.set(platform);
	}

	public static String getPlatform() {
		return contextHolder.get();
	}

	public static void remove() {
		contextHolder.remove();
	}

}
